<?php

namespace App\Repositories\Personnel;

use App\Models\Personnel\Department;
use App\Presenters\Personnel\DepartmentPresenter;
use App\Validators\Personnel\DepartmentValidator;
use Prettus\Repository\Criteria\RequestCriteria;
use App\Repositories\BaseRepository;

class DepartmentRepositoryEloquent extends BaseRepository implements DepartmentRepository{

    public function model(){
        return Department::class;
    }

    public function validator(){
        return DepartmentValidator::class;
    }

    public function boot(){
        $this->pushCriteria(app(RequestCriteria::class));
    }

    public function presenter(){
        return DepartmentPresenter::class;
    }
}
